package day03;

public class ExerCise {
    public static void main(String[] args) {
        int a = 20,b = 50;
        int max = a>b?a:b;
        if (a>=b){
            max = a;
        }else if (b>=a){
            max = b;
        }
        System.out.println("max="+max);

        /*
        int number = 1001;
        String numberStr = "学号:";
        int p = 28;
        String age = "年龄:";

        String info = numberStr + number;//学号:1001
        String info3 = age + p;//年龄:28
        boolean b1 = true;
        char l = '\n';//换行
        System.out.println(info+l+info3);//学号:1001 年龄:28
         */

    }
}
